import HomeView from "@views/home/index.vue";
import { markRaw } from "vue";
export const routers = markRaw([
  {
    path: "/",
    name: "home",
    redirect: "/chat",
    component: HomeView,
  },
  {
    path: "/user-config",
    name: "账号设置",
    component: () => import("@views/user-config/index.vue"),
  },
  {
    path: "/chat",
    name: "智能对话",
    meta: {
      hasRightMenu: true,
    },
    component: () => import("@views/chat/index.vue"),
  },
  {
    path: "/interview",
    name: "模拟面试",
    meta: {
      hasRightMenu: true,
    },
    component: () => import("@views/interview/index.vue"),
  },
  {
    path: "/programmer",
    name: "程序员",
    component: () => import("@views/programmer/index.vue"),
  },
]);
